<%-- 
    Document   : avg-moulding-update
    Created on : Jun 23, 2011, 5:27:37 PM
    Author     : Fikri
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <jsp:include page="includes/script.html"/>

        <title>Avg Moulding Update Form</title>
    </head>
    <body>
        <center>
            <h2>Edit Data</h2>
            <br>
            <form method="post">
                <c:forEach var="data" items="${data}">
                <input type="hidden" name="id" value="${data.id}">
                <table>
                    <tr>
                        <td>A</td>
                        <td><input type="text" name="a" value="${data.a}"></td>

                    </tr>
                    <tr>
                        <td>B</td>
                        <td><input type="text" name="b" value="${data.b}"></td>
                    </tr>
                    <tr>
                        <td>C</td>
                        <td><input type="text" name="c" value="${data.c}"></td>
                    </tr>
                    <tr>
                        <td>D</td>
                        <td><input type="text" name="d" value="${data.d}"></td>
                    </tr>
                    <tr>
                        <td>E</td>
                        <td><input type="text" name="e" value="${data.e}"></td>
                    </tr>
                    <tr>
                        <td>F</td>
                        <td><input type="text" name="f" value="${data.f}"></td>
                    </tr>
                    <tr>
                        <td>G</td>
                        <td><input type="text" name="g" value="${data.g}"></td>
                    </tr>
                    <tr>
                        <td>H</td>
                        <td><input type="text" name="h" value="${data.h}"></td>
                    </tr>
                    <tr>
                        <td>I</td>
                        <td><input type="text" name="i" value="${data.i}"><input type="hidden" value="${data.type}" name="type"></td>
                    </tr>


                    <tr>
                        <td>Date</td>
                        <td><input type="text" name="date" readonly value="${data.date}">
                        <img src="images/calendar.gif" onclick="displayDatePicker('date', false, 'ymd', '-');" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="right"><input  type="submit" name="submit" value="Save" ></td>
                    </tr>
                </table>
                        </c:forEach>
            </form>

</center>
    </body>
</html>
